home *** CD-ROM | disk | FTP | other *** search
/ Sound Fx / Sound Fx.iso / Software / ZIPED / CDPLAYER.EXE / CDPLAYER.INF < prev    next >
INI File  |  1995-07-31  |  4KB  |  121 lines

  1. ;Copyright (c) 1993-1995, Microsoft Corporation
  2.  
  3. [version]
  4. signature="$CHICAGO$"
  5. SetupClass=PLUSPACK
  6.  
  7. [DestinationDirs]
  8. Register_MMopts.Copy  = 17         ; LDID_INF
  9. CDPlayer.shared       = 25         ; LDID_SHARED
  10. CDPlayer.hlp          = 18         ; LDID_HELP
  11.  
  12. [Register_MMopts.Copy]
  13. cdplayer.inf
  14.  
  15. [Optional Components]
  16. CDPlayer
  17.  
  18. [DefaultInstall]
  19. OptionDesc   = %CDPlayer_Desc%
  20. Tip          = %CDPlayer_tip%
  21. Parent       = MultiM
  22. CopyFiles    = CDPlayer.shared, CDPlayer.hlp, Register_MMopts.Copy
  23. UpdateInis   = CDPlayer.inis
  24. Addreg       = CDPlayer.reg
  25. InstallType  = 14    ;Typical, Portable, Custom
  26. IconIndex    =  52    ;Speaker mini-icon for dialogs
  27. Uninstall    = CDPlayer_remove
  28.  
  29. [CDPlayer]
  30. OptionDesc   = %CDPlayer_Desc%
  31. Tip          = %CDPlayer_tip%
  32. Parent       = MultiM
  33. CopyFiles    = CDPlayer.shared, CDPlayer.hlp, Register_MMopts.Copy
  34. UpdateInis   = CDPlayer.inis
  35. Addreg       = CDPlayer.reg
  36. InstallType  = 14    ;Typical, Portable, Custom
  37. IconIndex    =  52    ;Speaker mini-icon for dialogs
  38. Uninstall    = CDPlayer_remove
  39.  
  40. [CDPlayer_remove]
  41. DelFiles    = CDPlayer.shared, CDPlayer.hlp
  42. DelReg      = CDPlayer.remove.DelReg, CDPlayer.remove.reg
  43. UpdateInis  = CDPlayer.links.remove
  44.  
  45.  
  46. ;--- CD Player Install Sections -------------------
  47. [CDPlayer.shared]
  48. cdplayer.exe
  49.  
  50. [CDPlayer.hlp]
  51. cdplayer.cnt
  52. cdplayer.hlp
  53.  
  54. [CDPlayer.inis]
  55. setup.ini, progman.groups,, "group12=%MMEDIA_DESC%"                ;create Accessories/MultiMedia if necessary
  56. setup.ini, group12,, """%CDPlayer_Desc%"", CDPLAYER.EXE,,,,,%CDPlayer_ShortDesc%"    ;creates link
  57.  
  58. [CDPlayer.links.remove]
  59. setup.ini, progman.groups,, "group12=%MMEDIA_DESC%"                ;create Accessories/MultiMedia if necessary
  60. setup.ini, group12,, """%CDPlayer_Desc%"""    ;deletes link
  61. setup.ini, group12,, """%CDPlayer_ShortDesc%"""    ;deletes link
  62.  
  63. [CDPlayer.reg]
  64. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDPlayer,DisplayName,,"%CDPlayer_Desc%"
  65. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDPlayer,UninstallString,,"RunDll setupx.dll,InstallHinfSection CDPlayer_remove 4 cdplayer.inf"
  66.  
  67. ;CDPlayer extension
  68. HKCR,.cda,,,cdafile
  69. HKCR,cdafile,,,"%V_CDA%"
  70. HKCR,cdafile\DefaultIcon,,,"%25%\cdplayer.exe,1"
  71. HKCR,cdafile\shell\play,,,"%V_SOUND_PLAY%"
  72. HKCR,cdafile\shell\play\command,,,"%25%\cdplayer.exe -play %%1"
  73. HKCR,AudioCD\shell,,,play
  74. HKCR,AudioCD\shell\play,,,"%V_SOUND_PLAY%"
  75. HKCR,AudioCD\shell\play\command,,,"%25%\cdplayer.exe /play %%1"
  76.  
  77.  
  78. [CDPlayer.remove.reg]
  79. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\CDPlayer
  80.  
  81. [CDPlayer.remove.DelReg]
  82. ;Remove CDPlayer extension
  83. HKCR,.cda
  84. HKCR,cdafile
  85. HKCR,AudioCD\shell
  86.  
  87.  
  88. ;--------------------------------------------------
  89. [Strings]
  90. ;Non-Localizable strings:
  91. KEY_OPTIONAL   = "SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents"
  92. KEY_RENAME     = "Software\Microsoft\Windows\CurrentVersion\RenameFiles"
  93. KEY_DEL        = "Software\Microsoft\Windows\CurrentVersion\DeleteFiles"
  94. KEY_DEFSCH     = "AppEvents\Schemes\Apps\.Default"
  95. KEY_APPS       = "AppEvents\Schemes\Apps"
  96. KEY_MEDIA      = "SYSTEM\CurrentControlSet\Control\MediaResources"
  97.  
  98. ;Localizable strings:
  99.  
  100. V_EXPLORER="Windows Explorer"
  101.  
  102. MMEDIA_DESC     = "Accessories\Multimedia"
  103. CDPlayer_Desc    = "CD Player"
  104. CDPlayer_ShortDesc = "CDPlayer"
  105. CDPlayer_tip    = "Utility to play music CDs with your computer"
  106. V_CDA="CD Audio Track"
  107. V_SOUND_PLAY="&Play"
  108.  
  109. CD_Only_MSMCIMfgName="Microsoft MCI"
  110.  
  111. Disk_1_Desc     = "Downloaded Files"
  112.  
  113. [SourceDisksNames]
  114. 1  = %Disk_1_Desc%,,0
  115.  
  116. [SourceDisksFiles]
  117. CDPLAYER.INF    =1,,    3515
  118. CDPLAYER.EXE    =1,,    88064
  119. CDPLAYER.CNT    =1,,    643
  120. CDPLAYER.HLP    =1,,    20579
  121.